package com.github.easyms.common.entity.auth;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.easyms.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Leo.Liao
 * 菜单
 * @date 2020-04-09 12:39:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("es_auth_menu")
@ApiModel
public class Menu extends BaseEntity {

    @TableId
    private String menuId;
    @ApiModelProperty(value = "菜单名称（JSON）",example = "\"{\"en\": \"SQL Monitoring\", \"zh_CN\": \"SQL监控\", \"zh_TW\": \"SQL监控\"}\"")
    private String text;
    private String iconCls;
    private String url;
    private String pmenuId;
    private String menuType;
    private Integer sorting;

}
